package com.repair.service.DeviceLeixing;




import java.util.List;

import com.repair.dao.DeviceLeixing.IDeviceLeixingDao;
import com.repair.domain.DeviceLeixing;
import com.repair.factory.DaoFactory;




public class DeviceLeixingService {
	private IDeviceLeixingDao dao = (IDeviceLeixingDao)DaoFactory.getInstance().getDao("DeviceLeixingDao");
	
	
	public void save(DeviceLeixing obj){
		this.dao.saveDeviceLeixing(obj);
	}
	public  List<DeviceLeixing> list(){
		return this.dao.getAllDeviceLeixing();
	}
	public void delete(DeviceLeixing obj){
		this.dao.deleteDeviceLeixing(obj);
	}
}
